<%--
  Created by IntelliJ IDEA.
  User: sxc
  Date: 2019/6/28
  Time: 2:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix = "c" uri = "http://java.sun.com/jsp/jstl/core" %>
<html>
<<<<<<< HEAD
<head>
    <title>Title</title>
</head>
<body>
<h1>显示商品</h1>
<c:forEach var="goodsList" items="${goodsArrayList}">
    <tr>
        <td><img src="Resource/images/${goodsList.goods_picture}" alt=""></td>

        <td>${goodsList.goods_id}</td>
        <td>${goodsList.goods_name}</td>
        <td>${goodsList.goods_details}</td>
        <td>${goodsList.goods_price}</td>
        <td>${goodsList.goods_stock}</td>
    </tr>

</c:forEach>


</body>
=======
	<head>
		<title>商品列表</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0 ,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

		<title>结算提交订单页面</title>

		<link href="Resource/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" />

		<link href="Resource/basic/css/demo.css" rel="stylesheet" type="text/css" />
		<link href="Resource/css/cartstyle.css" rel="stylesheet" type="text/css" />

		<link href="Resource/css/jsstyle.css" rel="stylesheet" type="text/css" />

		<script type="text/javascript" src="Resource/js/address.js"></script>

	</head>
	<body>
		<div class="concent">
			<div id="payTable">
				<h3>商品列表</h3>
				<div class="cart-table-th">
					<div class="wp">

						<div class="th th-item">
							<div class="td-inner">商品信息</div>
						</div>
						<div class="th th-price">
							<div class="td-inner">单价</div>
						</div>
						<div class="th th-amount">
							<div class="td-inner">库存量</div>
						</div>
						<div class="th th-sum">
							<div class="td-inner">操作</div>
						</div>
					</div>
				</div>
				<div class="clear"></div>

				<%--<tr class="item-list">--%>
				<c:forEach var="goodsList" items="${goodsArrayList}">
					<div class="concent">
						<div class="bundle  bundle-last">
							<div class="bundle-main">
								<ul class="item-content clearfix">
									<div class="pay-phone">
										<li class="td td-item">
											<div class="item-pic">
												<a href="#" class="J_MakePoint">
													<img src="Resource/images/${goodsList.goods_picture}" class="itempic J_ItemImg"></a>
											</div>
											<div class="item-info">
												<div class="item-basic-info">
													${goodsList.goods_details}
												</div>
											</div>
										</li>
										<li class="td td-info">
											<div class="item-props">
												<span class="sku-line">分类：零嘴</span>
												<span class="sku-line">包装：裸装</span>
												<span class="sku-line">口味：原味</span>
											</div>
										</li>
										<li class="td td-price">
											<div class="item-price price-promo-promo">
												<div class="price-content">
													<em class="J_Price price-now">${goodsList.goods_price}</em>
												</div>
											</div>
										</li>
									</div>
									<li class="td td-amount">
										<div class="amount-wrapper ">
											<div class="item-amount ">
												<span class="phone-title">购买数量</span>
												<div class="sl">
													<div class="text_box">${goodsList.goods_stock}</div>
												</div>
											</div>
										</div>
									</li>

									<div class="go-btn-wrap">
										<a href="SwitchGoodsServlet?goodsId = ${goodsList.goods_id}" class="btn-go">查看详情</a>
									</div>
								</ul>
								<div class="clear"></div>

							</div>
							<div class="clear"></div>
						</div>
					</div>
				</c:forEach>
			</div>
		</div>
	</body>
>>>>>>> 还没有实现在servlet中获取sessiond
</html>
